home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q101 / 0 / 64.TXT < prev    next >
Text File  |  1993-08-30  |  2KB  |  63 lines

  1. DOCUMENT:Q101064  07-JUL-1993  [W_NT]
  2. TITLE   :INF: RCP Requires -b Switch for Binary Copy
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. --------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. --------------------------------------------------------------------
  14.  
  15. Summary:
  16.  
  17. When using the UNIX RCP (Remote Copy Program) command, binary files
  18. will not copy correctly because RCP uses the ASCII transfer mode by
  19. default.
  20.  
  21. Using the -b switch will solve this problem.
  22.  
  23. Example:
  24.  
  25. RCP -b [HOST1.][USER1:]SOURCE [HOST2.][USER2:] path/destination
  26.  
  27. More Information:
  28.  
  29. Other parameters for the RCP command are as follows:
  30.  
  31.    -a  Specifies the ASCII transfer mode (this is the default).
  32.        This mode converts between End-of-Line characters:
  33.        CR for UNIX and CR/LF for PCs.
  34.  
  35.    -h  Used to transfer hidden files.
  36.  
  37.    -r  If any of the source files are directories, RCP recursively
  38.        copies each subtree rooted at that name; the destination must
  39.        must be a directory.
  40.  
  41.    -p  Attemp to give each copy the same modification times, access
  42.        times, and modes as the original file.
  43.  
  44. RCP requires that the source host have permissions to execute commands
  45. on the remote host.
  46.  
  47. Additional reference words: 3.10 rcp
  48.  
  49. =============================================================================
  50.  
  51. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  52. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  53. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  54. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  55. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  56. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  57. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  58. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  59. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  60. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  61. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  62.  
  63. Copyright Microsoft Corporation 1993.